package com.lagou.edu.repository;

import com.lagou.edu.domain.AuthCode;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by shixi  on 2021/1/28
 */
public interface AuthCodeRepository extends JpaRepository<AuthCode,Integer> {
    AuthCode findByEmailAndCode(String email, String code);
}